package edu.hawaii.halealohacli;

/**
 * Supports operations of the hale-aloha-cli-cycuc project.
 * 
 * @author David Wilkie
 * @author Branden Ogata
 */
public enum Operation {
  // Note: not certain if these values should be changed to formatting for constants
  /** Quits program. */
  quit,
  /** Prints help info to console. */
  help,
  /** Calls currentPower method. */
  currentPower,
  /** Calls dailyEnergy method. */
  dailyEnergy,
  /** Calls energySince method. */
  energySince,
  /** Calls rankTowers method. */
  rankTowers,
  /** Calls setBaseline method. */
  setBaseline,
  /** Calls monitorPower method. */
  monitorPower,
  /** Calls monitorGoal method. */
  monitorGoal;

  /** The string to store. */
  private String string = "help";

  /**
   * Stores a string.
   * 
   * @param string to store
   */
  public void setString(String string) {
    this.string = string;
  }

  /**
   * Returns the stored string.
   * 
   * @return the stored string
   */
  public String getString() {
    return this.string;
  }
}